package roborally;

public class EndOfWhileLoop extends Statement {
	
	public EndOfWhileLoop(){
		//No specific fields.
	}
	
	@Override
	public void setStringForm(String s){
		this.setStringForm("end");
	}
	
	@Override
	public void execute(Robot robot){
		System.out.println("You cannot execute an endOfWhileLoop command.");
	}
	
	public boolean validate(Robot robot){
		System.out.println("You cannot validate an endOfWhileLoop command.");
		return false;
	}

}
